﻿using System;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using SqlSugar;

namespace Aioms.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("point_inspection_record")]
    public partial class PointInspectionRecord
    {
        public PointInspectionRecord()
        {
            this.Created = DateTime.Now;
            this.Updated = DateTime.Now;
        }
        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
        [JsonProperty("id")]
        public long Id { get; set; }

        /// <summary>
        /// Desc:企业id
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "eid")]
        [JsonProperty("eid")]
        public long Eid { get; set; }

        /// <summary>
        /// Desc:设备id
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "dvid")]
        [JsonProperty("dvid")]
        public long Dvid { get; set; }

        /// <summary>
        /// Desc:负责人
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "epid")]
        [JsonProperty("epid")]
        public long Epid { get; set; }

        /// <summary>
        /// Desc:保养计划开始日期
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "begin_date")]
        [JsonProperty("begin_date")]
        public DateTime BeginDate { get; set; }

        /// <summary>
        /// Desc:保养结束开始日期
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "end_date")]
        [JsonProperty("end_date")]
        public DateTime EndDate { get; set; }

        /// <summary>
        /// Desc:计划周期
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "period")]
        [JsonProperty("period")]
        public string Period { get; set; }

        /// <summary>
        /// Desc:开始时间段
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "begin_time")]
        [JsonProperty("begin_time")]
        public string BeginTime { get; set; }

        /// <summary>
        /// Desc:结束时间段
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "end_time")]
        [JsonProperty("end_time")]
        public string EndTime { get; set; }

        /// <summary>
        /// Desc:保养时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "mtn_time")]
        [JsonProperty("mtn_time")]
        public DateTime MtnTime { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "created")]
        [JsonProperty("created")]
        public DateTime? Created { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        [SugarColumn(ColumnName = "updated")]
        [JsonProperty("updated")]
        public DateTime? Updated { get; set; }

    }
}
